//
//  SYGuoKeTableViewCell.m
//  SanYiTeaching
//
//  Created by 郑浩然 on 2019/4/22.
//  Copyright © 2019年 SanYi. All rights reserved.
//

#import "SYGuoKeTableViewCell.h"

@interface SYGuoKeTableViewCell ()
@property (weak, nonatomic) IBOutlet UILabel *nameLab;
@property (weak, nonatomic) IBOutlet UILabel *dateLab;
@property (weak, nonatomic) IBOutlet UILabel *typeLab;
@property (weak, nonatomic) IBOutlet UIView *bgView;

@end


@implementation SYGuoKeTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (void)attendGuoKeTableViewCellIndexPath:(NSIndexPath *)indexPath {
    if (indexPath.row %2) {
        self.bgView.backgroundColor = [UIColor colorWithHexString:@"#F8F8F8"];
        
    } else {
        self.bgView.backgroundColor = [UIColor whiteColor];
    }
    
    self.nameLab.text = @"新概念456";
    self.dateLab.text = @"日期：2019-03-20 19：20：08";
    self.typeLab.text = @"已审核";
    
}
@end
